﻿using Lis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lis.IDAL
{
    public interface ICirculateInfoDal:IBaseDal<CirculateInfo>
    {
        /// <summary>
        /// 根据用户卡号获取流通信息
        /// </summary>
        /// <param name="UserName">读者卡号</param>
        /// <returns></returns>
        IEnumerable<CirculateInfo> GetEntitiesByUserName(string UserName);

        /// <summary>
        /// 根据馆藏号查询流通信息
        /// </summary>
        /// <param name="BarCode">馆藏号</param>
        /// <returns></returns>
        IEnumerable<CirculateInfo> GetEntitiesByBarCode(string BarCode);
    }
}
